package tests;

import org.junit.Test;

import utils.PasswordGenerator;
import utils.Validator;
import static org.junit.Assert.*;

/**
 * JUnit Test Class for utils.PasswordGenerator
 * 
 * @author Aleksander Zotov
 *
 */
public class PasswordGeneratorTest {
	
	@Test
	//Test for generate()
	public void generateTest() {
		String password = PasswordGenerator.generate(8);
		assertTrue(Validator.isValidPassword(password) == true);
	}
}
